package com.ims.service;

import com.ims.entity.Page;
import com.ims.entity.system.Course;
import com.ims.util.PageData;

import java.util.List;

public interface CourseMapper {
    int deleteByPrimaryKey(Integer cId) throws Exception;

    int insert(Course record) throws Exception;

    int insertSelective(Course record);

    Course selectByPrimaryKey(Integer cId);

    int updateByPrimaryKeySelective(Course record);

    int updateByPrimaryKey(Course record) throws Exception;

    List<PageData> listAllCourse(Page page) throws Exception;

}